package com.sanploy.fed.push.bean;

import javax.persistence.*;
import java.io.Serializable;

/**
 * Created by Administrator on 2016/8/14.
 */
@Entity
@Table(name = "fileinfomation")
public class FileInfomation implements Serializable{
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }

    public String getFilepath() {
        return filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath;
    }

    public String getFiletype() {
        return filetype;
    }

    public void setFiletype(String filetype) {
        this.filetype = filetype;
    }

    public String getOpetime() {
        return opetime;
    }

    public void setOpetime(String opetime) {
        this.opetime = opetime;
    }

    public String getOldname() {
        return oldname;
    }

    public void setOldname(String oldname) {
        this.oldname = oldname;
    }

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;

    private String filename;

    private String filepath;

    @Column(length = 20)
    private String filetype; //图片或视频...

    @Column(length = 30)
    private String opetime;

    private String oldname;

    private String introduce;

    private String url;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }
}
